#ifdef DH
#pragma once

#include "dhplay.h"
#include "videodecoder.h"


#pragma comment (lib, "dhplay.lib")

class DHDecoder :
	public VideoDecoder
{
public:
	DHDecoder(void);
	~DHDecoder(void);

	void startRecvThread();
	void startDecodeThread();

	bool DHInputRunning;
	bool isDHStopped;
	LONG DHport;

protected:
	char* recvBuf;
	int lostPacket;
	HANDLE DHInputThread;


};
#else
#endif
